package com.blb.community.service.impl;

import com.blb.community.entity.ZyComment;
import com.blb.community.mapper.ZyCommentMapper;
import com.blb.community.service.IZyCommentService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 评论表 服务实现类
 * </p>
 *
 * @author 帅帅
 * @since 2022-07-02
 */
@Service
public class ZyCommentServiceImpl extends ServiceImpl<ZyCommentMapper, ZyComment> implements IZyCommentService {
    @Autowired
    private ZyCommentMapper commentMapper;
    @Override
    public void delComment(Long id) {
        commentMapper.delComment(id);
    }
}
